<template>
  <div class="layout-contain">
    <div class="reservation">
      <div class="reservation-contain" ref="element">
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'LayoutContain',
  data () {
    return {
      height: 0
    }
  }
  // created () {
  // },
  // methods: {
  //   getHeight () {
  //     this.height = this.$refs.element.offsetHeight + 'px'
  //   }
  // },
  // mounted () {
  //   this.getHeight()
  //   console.log(this.height)
  // }
}
</script>

<style lang="scss" scoped>
.reservation{
  width: 100%;
 // position: relative;
  &-contain{
   // position: absolute;
    //left: 50%;
    //margin-left: -600px;
    //top: -1%;
    margin: 0 auto;
    width: 1200px;
    height: auto;
    background: #ffffff;
    opacity: 1;
    margin-top: -120px;
  }
}
</style>
